<?php
$data = array('Monday',
              'Tuesday',
              'Wednesday');


//$data = 123;

if(gettype($data) == 'array') {
 echo '1.This is Array Type of Varibale',"\n\n";
}

if(is_array($data)) {
 echo '2.This is Array Type of Varibale',"\n\n";
}

